package com.ellecity06.cwhiskymall.ui.address

import com.ellecity06.common.base.view.IUiState
import com.ellecity06.cwhiskymall.bean.request.AddressAddRequest

/**
 * @author ellecity06
 * @time 2024/10/31 11:32
 * @des
 */
sealed class AddressManagerState : IUiState {

    object LoadDataError : AddressManagerState()
    data class FetchDataSuccess(val list: List<AddressAddRequest>) : AddressManagerState()

    /**
     * 刷新数据
     */
    object RefreshList : AddressManagerState()
}